<?php
require('config.php');

        $user_id=$_REQUEST['user_id'];
        $bt=$_REQUEST['bt'];
        $content=$_REQUEST['content'];
        $img_list=$_REQUEST['img_list'];
        $wb_id=$_REQUEST['wb_id'];
		
        $sql="update ".$oto."_help set title='{$bt}',content='{$content}',img='{$img_list}' where id='{$wb_id}'";
		$result=$db->query($sql);
        if($result)
        {
           $data[0]['pan']='true';
        }
        else $data[0]['pan']='false';
		echo json_encode($data);
?>